<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>4.4某官网首页布局实战（节选）</title>
  <style>
    .m-menu {
      width: 1200px;
      height: 50px;
      background: #3778bc;
      margin-left: auto;
      margin-right: auto;
    }
    .m-menu .m-item {
      width: 108px;
      height: 50px;
      background: #3778bc;
      border-right: 1px solid #3a73af;
      font-size: 15px;
      color: #ffffff;
      line-height: 50px;
      float: left;
      text-align: center;
      cursor: pointer;
    }
    .m-menu .m-item:hover {
      background: #316ca9;
    }
    .m-submenu {
      display: none;
    }
    .m-menu .m-item:hover .m-submenu {
      display: block;
    }
    .m-submenu .m-item:hover{
      background: #1a65ab;
    }
    .m-submenu .m-item {
      width: 175px;
      font-size: 12px;
      background: #426ca9;
    }
  </style>
</head>
<body>
  <h3 style="text-align: center;">导航布局实战</h3>
  <div class="m-menu">
    <div class="m-item">首页</div>
    <div class="m-item">
      学院概括
      <div class="m-submenu">
        <div class="m-item">学院简介</div>
        <div class="m-item">机构设置</div>
        <div class="m-item">人员设置</div>
      </div>
    </div>
    <div class="m-item">
      学科建设
      <div class="m-submenu">
        <div class="m-item">广西重点学科</div>
        <div class="m-item">计算机科学与技术学科</div>
        <div class="m-item">软件工程学科</div>
        <div class="m-item">信息与通信工程学科</div>
      </div>
    </div>
    <div class="m-item">
      科研工作
      <div class="m-submenu">
        <div class="m-item">科研平台</div>
        <div class="m-item">科研项目</div>
        <div class="m-item">科研成果</div>
      </div>
    </div>
    <div class="m-item">师资队伍
      <div class="m-submenu">
        <div class="m-item">教职工名录</div>
        <div class="m-item">师资概括</div>
        <div class="m-item">硕士生导师</div>
        <div class="m-item">教授.副教授.博士</div>
      </div>
    </div>
    <div class="m-item">
      人才培养
      <div class="m-submenu">
        <div class="m-item">研究生教育</div>
        <div class="m-item">本科生教育</div>
      </div>
    </div>
    <div class="m-item">
      重点实验室
      <div class="m-submenu">
        <div class="m-item">区重点实验室</div>
        <div class="m-item">高校重点实验室</div>
      </div>
    </div>
    <div class="m-item">专业实验室</div>
    <div class="m-item">育人基地</div>
    <div class="m-item">超算中心</div>
    <div class="m-item">校友专题</div>
  </div>
</body>
</html>